<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
  <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script type="text/javascript" src="../includes/jqueryui/js/jquery.1.6.1.min.js"></script>
    <script type="text/javascript" src="../includes/jqueryui/js/jquery-ui-1.8.13.custom.min.js"></script>
    <script type="text/javascript" src="../js/upload.js"></script>
    <script type="text/javascript">
      function sendForm(){
        $.upload('upload.php','fileinfo',function(p,t){
          console.log(p)
          console.log(t)
        })
      }
    </script>
  </head>
  <body>
    <div>
      <form enctype="multipart/form-data" method="post" name="fileinfo" id="fileinfo">
        <label>Your email address:</label>
        <input type="email" autocomplete="on" autofocus name="userid" placeholder="email" required size="32" maxlength="64"><br />
        <label>Custom file ID:</label>
        <input type="text" name="fileid" size="12" maxlength="32"><br />
        <label>File to stash:</label>
        <input type="file" name="file" required>
      </form>
    <div id="output"></div>
    <a href="javascript:sendForm()">Stash the file!</a>

    </div>
  </body>
</html>
